package com.future.direction.data.bean;

/**
 * Created by ZHP on 2019/1/2/0002.
 */

public class MainHomeBean extends BaseEntity {

    public static final int force = 2;
    /**
     * apkUrl : /test.update.apk
     * appType : 0
     * createTime : 1554086031000
     * id : 1
     * num : 0
     * prompt : 升级测试
     * status : 0
     * type : 1
     * updateTime : 1554086031000
     * versionCode : 100
     * versionName : 1.0.0
     */

    private String apkUrl;
    private int appType;
    private long createTime;
    private int id;
    private int num;
    private String prompt;
    private int status;
    private int type;
    private long updateTime;
    private String versionCode;
    private String versionName;


    public boolean isForce() {

        return (type == force);
    }

    public String getApkUrl() {
        return apkUrl;
    }

    public void setApkUrl(String apkUrl) {
        this.apkUrl = apkUrl;
    }

    public int getAppType() {
        return appType;
    }

    public void setAppType(int appType) {
        this.appType = appType;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getPrompt() {
        return prompt;
    }

    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }
}
